package cn.com.jinhao.provider.business.entity;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.ToString;

import javax.persistence.Column;
import javax.validation.constraints.NotNull;

/**
 * HotLine
 * <p>Description: 派单，受理，反馈，回访，办结流程都要继承该类</p>
 *
 * @author ShaneMew
 * @version 1.0
 * @date 2019/10/18
 * @see Base
 * @since 2019-10-18
 */
@Data
class ProcedureBase extends Base {
    /**
     * 事件编码
     */
    @Column(name = "BT$EVIF_CODE")
    @ApiModelProperty(value = "事件编码")
    @NotNull(message = "事件编码不能为空")
    protected String eventInformationCode;

    /**
     * 派单编码
     */
//  @Column(name = "BT$EVAS_CODE")
//  @ApiModelProperty(value = "派单编码", hidden = true)
//  private String dispatchCode;

    /**
     * 通知方式
     */
    @Column(name = "BD$NTTP_NTTP")
    @ApiModelProperty(value = "通知方式")
    protected String noticeMethod;

    /**
     * 通知方式编码
     */
    @Column(name = "BD$NTTP_CODE")
    @ApiModelProperty(value = "通知方式编码")
    protected String noticeCode;

    /**
     * 通知号码
     */
//  @Column(name = "ntnb")
//  @ApiModelProperty(value = "通知号码")
//  private String noticeNumber;
}
